﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SoftFX.Extended;

namespace Mql2Fdk.Launcher
{
	class Program
	{
		static void Main(string[] args)
		{
			string address = "tpdemo.fxopen.com";
			string username = "59932";
			string password = "8mEx7zZ2";


			MyAdviser adviser = new MyAdviser();
			using (MqlLauncher launcher = new MqlLauncher(address, username, password, null, "EURUSD", PriceType.Bid, BarPeriod.M1, adviser))
			{
				launcher.Start();
				Console.ReadKey();
				launcher.Stop();
			}

		}
	}
}
